From: Andrew Cooper Date: Fri, 2 Aug 2019 12:35:14 +0000 (+0100) Subject: x86/asm: Include msr-index.h rather than msr.h X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~1767 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ea131e2ed329e90487ec258ae195e5e95784e8ea;p=xen.git x86/asm: Include msr-index.h rather than msr.h There is nothing interesting for assembly code in msr.h. Include msr-index.h instead, and drop the __ASSEMBLY__ guards in msr.h. No functional change. Signed-off-by: Andrew Cooper Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- diff --git a/xen/arch/x86/boot/head.S b/xen/arch/x86/boot/head.S index d78bed394a..ab2d52a79d 100644 --- a/xen/arch/x86/boot/head.S +++ b/xen/arch/x86/boot/head.S @@ -6,7 +6,7 @@ #include #include #include -#include +#include #include #include diff --git a/xen/arch/x86/x86_64/kexec_reloc.S b/xen/arch/x86/x86_64/kexec_reloc.S index 4d527dbfce..5bf61d5c2d 100644 --- a/xen/arch/x86/x86_64/kexec_reloc.S +++ b/xen/arch/x86/x86_64/kexec_reloc.S @@ -16,7 +16,7 @@ #include #include -#include +#include #include #include diff --git a/xen/include/asm-x86/msr.h b/xen/include/asm-x86/msr.h index 3cbbc65e02..bca41a3670 100644 --- a/xen/include/asm-x86/msr.h +++ b/xen/include/asm-x86/msr.h @@ -3,8 +3,6 @@ #include "msr-index.h" -#ifndef __ASSEMBLY__ - #include #include #include @@ -336,6 +334,4 @@ int init_vcpu_msr_policy(struct vcpu *v); int guest_rdmsr(struct vcpu *v, uint32_t msr, uint64_t *val); int guest_wrmsr(struct vcpu *v, uint32_t msr, uint64_t val); -#endif /* !__ASSEMBLY__ */ - #endif /* __ASM_MSR_H */